package com.superitem.school.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Table(catalog = "user")
public class User {
    @Id
    @KeySql(useGeneratedKeys = true)
    public Integer uid;
    public String username;
    public String userpwd;
    public Integer usertype;
    public Date usertime;
    public Integer usersex;
    public Integer userage;
    public String dbName;
}
